package com.java2207.group1.service;

import com.java2207.group1.bo.OccupancyBo;
import com.java2207.group1.common.LayuiPageVo;
import com.java2207.group1.pojo.Occupancy;
import com.java2207.group1.vo.occupancy.BerVo;
import com.java2207.group1.vo.occupancy.PieVo;

import java.util.List;
import java.util.Map;

/**
 * 15319 2022/7/27 14:20
 */
public interface OccupancyService {

    LayuiPageVo<Occupancy> occupancyPage(Map<String, Object> params);

    int occupancyUpdate(Occupancy occupancy);

    int occupancyDelete(Integer id);

    int occupancyAdd(Occupancy occupancy);

    int occupancyDeleteByIds(String id);

    List<BerVo> setBarDate();

    List<PieVo> setPieDate();

    List<OccupancyBo> occupancyExcelPage(Map<String, Object> params);
}
